package com.tonann.weixin.model;

public class WXAccessToken {

    private static WXAccessToken wxAccessToken;

    private WXAccessToken() {
    }

    private String accessToken;

    private Long getTime;

    public static WXAccessToken getInstance() {
        if (wxAccessToken == null) {
            synchronized (WXAccessToken.class) {
                if (wxAccessToken == null) {
                    wxAccessToken = new WXAccessToken();
                }
            }
        }
        return wxAccessToken;
    }

    public void setWxAccessToken(String token) {
        this.accessToken = token;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setGetTime(Long getTime) {
        this.getTime = getTime;
    }

    public Long getGetTime() {
        return getTime;
    }
}
